<html {$html_attrs}>
<head>
<title>Tbl Dat Hang</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border:none;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid black 1px;
}
.grid_block .gridspacing {width:20px;border-top-color:white; border-bottom-color:white;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}
#selpage{margin-left:30px;}
</style> 
</head>
<body style="background-color:white">
{BEGIN body}
{$header}
{BEGIN page}

<h1>Tbl Dat Hang</h1>
{BEGIN page_number}
<div id='selpage'>Page {$pageno} of {$maxpages} </div>
{END page_number}

{BEGIN grid_block}

<table align="center" cellpadding=5 class="grid_block">
{BEGIN grid_header}
<tr>
{BEGIN record_header}
{BEGIN id_fieldheadercolumn}
	<td>
{BEGIN id_fieldheader}
	<b>Id</b>
{END id_fieldheader}
	</td>
{END id_fieldheadercolumn}
{BEGIN ma_san_pham_fieldheadercolumn}
	<td>
{BEGIN ma_san_pham_fieldheader}
	<b>Ma San Pham</b>
{END ma_san_pham_fieldheader}
	</td>
{END ma_san_pham_fieldheadercolumn}
{BEGIN so_luong_fieldheadercolumn}
	<td>
{BEGIN so_luong_fieldheader}
	<b>So Luong</b>
{END so_luong_fieldheader}
	</td>
{END so_luong_fieldheadercolumn}
{BEGIN cong_ty_fieldheadercolumn}
	<td>
{BEGIN cong_ty_fieldheader}
	<b>Cong Ty</b>
{END cong_ty_fieldheader}
	</td>
{END cong_ty_fieldheadercolumn}
{BEGIN nguoi_lien_he_fieldheadercolumn}
	<td>
{BEGIN nguoi_lien_he_fieldheader}
	<b>Nguoi Lien He</b>
{END nguoi_lien_he_fieldheader}
	</td>
{END nguoi_lien_he_fieldheadercolumn}
{BEGIN dia_chi_fieldheadercolumn}
	<td>
{BEGIN dia_chi_fieldheader}
	<b>Dia Chi</b>
{END dia_chi_fieldheader}
	</td>
{END dia_chi_fieldheadercolumn}
{BEGIN tinh_thanh_pho_fieldheadercolumn}
	<td>
{BEGIN tinh_thanh_pho_fieldheader}
	<b>Tinh Thanh Pho</b>
{END tinh_thanh_pho_fieldheader}
	</td>
{END tinh_thanh_pho_fieldheadercolumn}
{BEGIN dien_thoai_fieldheadercolumn}
	<td>
{BEGIN dien_thoai_fieldheader}
	<b>Dien Thoai</b>
{END dien_thoai_fieldheader}
	</td>
{END dien_thoai_fieldheadercolumn}
{BEGIN email_fieldheadercolumn}
	<td>
{BEGIN email_fieldheader}
	<b>Email</b>
{END email_fieldheader}
	</td>
{END email_fieldheadercolumn}
{BEGIN fax_fieldheadercolumn}
	<td>
{BEGIN fax_fieldheader}
	<b>Fax</b>
{END fax_fieldheader}
	</td>
{END fax_fieldheadercolumn}
{BEGIN ghi_chu_fieldheadercolumn}
	<td>
{BEGIN ghi_chu_fieldheader}
	<b>Ghi Chu</b>
{END ghi_chu_fieldheader}
	</td>
{END ghi_chu_fieldheadercolumn}
{BEGIN endrecordheader_block}
	<td class="gridspacing">&nbsp;</td>
{END endrecordheader_block}
{END record_header}
</tr>
{END grid_header}
{BEGIN grid_row}
<tr valign=top {$rowstyle} {$rowattrs}>
{BEGIN grid_record}
{BEGIN id_fieldcolumn}
<td {$id_style}>
{$id_value}
</td>
{END id_fieldcolumn}
{BEGIN ma_san_pham_fieldcolumn}
<td {$ma_san_pham_style}>
{$ma_san_pham_value}
</td>
{END ma_san_pham_fieldcolumn}
{BEGIN so_luong_fieldcolumn}
<td {$so_luong_style}>
{$so_luong_value}
</td>
{END so_luong_fieldcolumn}
{BEGIN cong_ty_fieldcolumn}
<td {$cong_ty_style}>
{$cong_ty_value}
</td>
{END cong_ty_fieldcolumn}
{BEGIN nguoi_lien_he_fieldcolumn}
<td {$nguoi_lien_he_style}>
{$nguoi_lien_he_value}
</td>
{END nguoi_lien_he_fieldcolumn}
{BEGIN dia_chi_fieldcolumn}
<td {$dia_chi_style}>
{$dia_chi_value}
</td>
{END dia_chi_fieldcolumn}
{BEGIN tinh_thanh_pho_fieldcolumn}
<td {$tinh_thanh_pho_style}>
{$tinh_thanh_pho_value}
</td>
{END tinh_thanh_pho_fieldcolumn}
{BEGIN dien_thoai_fieldcolumn}
<td {$dien_thoai_style}>
{$dien_thoai_value}
</td>
{END dien_thoai_fieldcolumn}
{BEGIN email_fieldcolumn}
<td {$email_style}>
{$email_value}
</td>
{END email_fieldcolumn}
{BEGIN fax_fieldcolumn}
<td {$fax_style}>
{$fax_value}
</td>
{END fax_fieldcolumn}
{BEGIN ghi_chu_fieldcolumn}
<td {$ghi_chu_style}>
{$ghi_chu_value}
</td>
{END ghi_chu_fieldcolumn}
{BEGIN endrecord_block}
<td class="gridspacing">&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
<!-- totals row -->
</table>
{END grid_block}
{END page}
{$footer}
{END body}
</body>
</html>